package com.hogocloud.myframe.ui

import com.hogocloud.corelibrary.common.adapter.BaseQuickAdapter
import com.hogocloud.corelibrary.common.adapter.BaseViewHolder
import kotlinx.android.synthetic.main.item_text.view.*

/**
 * 测试用
 *
 * @author gjc
 * @version 1.0.0
 * @since 2019-11-14
 */
class MyAdapter(layoutRes: Int, data: List<String>): BaseQuickAdapter<String, BaseViewHolder>(layoutRes, data) {

    override fun convert(helper: BaseViewHolder, item: String) {
        helper.itemView.apply {
            tv_test.text = item
        }
    }
}